<?php /* Smarty version 3.1.27, created on 2017-06-07 13:18:36
         compiled from "D:\wamp\www\6-7chenxu\mvcsl\mvc\views\User\edit.html" */ ?>
<?php
/*%%SmartyHeaderCode:25585937fd2c93bac2_25074237%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6ea4cbc26ddf5bd5d46a1ff2d7bdea9d6329fecd' => 
    array (
      0 => 'D:\\wamp\\www\\6-7chenxu\\mvcsl\\mvc\\views\\User\\edit.html',
      1 => 1496841514,
      2 => 'file',
    ),
    '63bbe53fd04e32a71a1820e68849f386b715bed8' => 
    array (
      0 => 'D:\\wamp\\www\\6-7chenxu\\mvcsl\\mvc\\views\\User\\index.html',
      1 => 1496839597,
      2 => 'file',
    ),
    'e72d6c5ca4bdcaa52c5ec25238cc9b077a46f194' => 
    array (
      0 => 'e72d6c5ca4bdcaa52c5ec25238cc9b077a46f194',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '25585937fd2c93bac2_25074237',
  'variables' => 
  array (
    'title' => 0,
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5937fd2ca58d80_70054021',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5937fd2ca58d80_70054021')) {
function content_5937fd2ca58d80_70054021 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '25585937fd2c93bac2_25074237';
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="public/css/bootstrap.min.css">
</head>
<body>
	<div class="container">		
		<h1><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>

		<div class="center-block mt20">
			<a href="./index.php?c=user&a=index" class="btn btn-info">首页</a>
			<a href="index.php?c=user&a=add" class="btn btn-success">添加</a>
		</div>

		<?php
$_smarty_tpl->properties['nocache_hash'] = '25585937fd2c93bac2_25074237';
?>

	<form action="./index.php?c=user&a=update" method="post">
		<input type="hidden" name='id' value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
	    姓名:
	    <input type="text" name="nickname" placeholder="请输入姓名" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['nickname'];?>
"><br><br>
	
	    电话:
	    <input type="text" name="phone" placeholder="请输入电话" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['phone'];?>
"><br><br>
	    性别:
	    
	    <input type="radio" value='1' name="sex" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 1) {?> checked <?php }?>>男
	    <input type="radio" value='2' name="sex" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 2) {?> checked <?php }?>>女
	    <input type="radio" value='3' name="sex" <?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 3) {?> checked <?php }?>>保密
	    



	    <input type="submit" value="确认">
	</form>

	</div>




	

	<?php echo '<script'; ?>
 src="./public/js/jquery.min.js"><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 src="./public/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</body>
</html><?php }
}
?>